package com.ssy.lingxi.member.merchant.model.vo.lrc.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;

/**
 * @author wyx
 * @version 2.0.0
 * @date 2022-04-07
 **/
public class MemberIdAndRoleIdVO {
    /**
     * 会员id
     */
    @NotNull(message = "会员Id不能为空")
    @Positive(message = "会员Id要大于0")
    private Long memberId;

    /**
     * 角色id
     */
    @NotNull(message = "会员角色Id不能为空")
    @Positive(message = "会员角色Id要大于0")
    private Long roleId;

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }
}
